import request from '../http'

class Main {
    getPlanList(params?: any) {
        return request({
            url: 'phpbin/tomorrowplan/getPlanList.php',
            method: 'get',
            params
        })
    }

    updatePlan(params: any){
        return request({
            url: 'phpbin/tomorrowplan/updatePlan.php',
            method: 'get',
            params
        })
    }

    addPlan(params: any){
        return request({
            url: 'phpbin/tomorrowplan/addPlan.php',
            method: 'get',
            params
        })
    }
}

export default Main